<#include "/common/head.html"/>    
    <table id="dg"></table> 
<script type="text/javascript">
var datagrid = $("#dg");

var param1 = {"queryParams[instorage_id]":"${instorage_id!}"};
var dgOptions = {
        rownumbers:true,
    	fit:true,
    	border:false,        
    	url:'listData',
    	method:'post',
    	//toolbar:'#tb',
    	//pageSize: 20,
    	//pagination:true,
    	multiSort:true,
        queryParams: param1,
        
        columns: [[
		         //{field:'id', checkbox:true}
	           	 //,{field:'instorage_id', title: '关联入库单号', width:120, sortable: true}
	           	  {field:'mat_no', title: '物料编号', width:80, sortable: true}
	           	 ,{field:'mat_name', title: '物料名', width:100, sortable: true}
	           	 ,{field:'mat_std', title: '规格', width:120, sortable: true}
	           	 ,{field:'mat_unit', title: '单位', width:60, sortable: true}
	           	 ,{field:'mat_num', title: '数量', width:60, sortable: true}
	           	 ,{field:'mat_price', title: '单价', width:60, sortable: true}
	           	 ,{field:'mat_sum', title: '金额', width:60, sortable: true}
	           ]]
	};
$(function() {
	//handleAuthDataRule();
	datagrid.datagrid(dgOptions);
});
</script>

<#include "/common/dialogWindow.html"/>
<#include "/common/foot.html"/>